package lib.user;

import lib.operation.Do;



abstract public class User {
    public String name;
    public Do[] aDo;
    public User(String name){
        this.name = name;
    }

    //新建menu抽象方法，理解为用户菜单
    abstract public int menu();

    //对图书的操作
    public void doOperation(int choice){
        this.aDo[choice].work();
    }
}
